n94=vote { if (%subject = $null) { echo 4 $me No vote issue ! | halt } | describe %votechan needs everyone to Vote Whether %subject %votenick , yes or no ? | %yes = 0 | %no = 0 | .enable #vote }
n95=endvote {
n96= if (($me isop %votechan) && (%rem = yes)) { if (%yes > %no) { ban -u60 %votechan %votenick 3 | .timer 1 2 kick %votechan %votenick Poll reveals %yes for yes , and %no for NO | goto end } | if (%yes = %no) { describe %votechan Poll reveals %yes for yes, and %no for no , a tie!!!! Darn and i wanted to KICK %votenick... | goto end } | if (%yes < %no) { describe %votechan Poll reveals %yes for yes, and %no for no , %votenick stays... | goto end } }
n97= if (($me !isop %votechan) && (%rem = yes)) { if (%yes > %no) { describe %votechan I would kick %votenick , Poll reveals %yes for yes , and %no for no , but I am not opped =) | goto end } | if (%yes = %no) { describe %votechan Poll reveals %yes for yes, and %no for no , a tie , Darn and I wanted to kick =-( , to bad i am not opped =-) | goto end } | if (%yes < %no) { echo 4 $me Poll reveals %yes for yes, and %no for no .. Didn't matter though I am not opped ... | goto end } }
n98= describe %votechan Vote reveals %yes for yes , and %no for NO !
n99= :end | unset %votechan %subject %yes %no %votesite %votenick %rem | .disable #vote | set %game off | set %vote No | halt